<!--

    Copyright (c) 1997, 2018 Oracle and/or its affiliates. All rights reserved.

    This program and the accompanying materials are made available under the
    terms of the Eclipse Public License v. 2.0, which is available at
    http://www.eclipse.org/legal/epl-2.0.

    This Source Code may also be made available under the following Secondary
    Licenses when the conditions for such availability set forth in the
    Eclipse Public License v. 2.0 are satisfied: GNU General Public License,
    version 2 with the GNU Classpath Exception, which is available at
    https://www.gnu.org/software/classpath/license.html.

    SPDX-License-Identifier: EPL-2.0 OR GPL-2.0 WITH Classpath-exception-2.0

-->

<!DOCTYPE html>
<html xmlns="http://www.w3.org/1999/xhtml"
      xmlns:jsf="http://xmlns.jcp.org/jsf" xmlns:p="http://xmlns.jcp.org/jsf/passthrough">

<form jsf:id="form" jsf:prependId="false">

    <p>
        <span id="lastAction">#{bean.lastAction}</span>
    </p>
    
    
    <p>
        <span id="publicKey1">#{bean.publicKey}</span>
        
    </p>

    <p>
        <span id="publicKey2">#{bean.publicKey2}</span>
    </p>

    <button type="submit" jsf:id="fancyButton1" jsf:action="#{bean.action1}">
        <strong>F</strong>ancy <strong style="color: red;">Button</strong> 1
    </button>

    <button type="submit" jsf:id="fancyButton2" jsf:action="#{bean.action2}">
        <strong>F</strong>ancy <strong style="color: blue;">Button</strong> 2
    </button>

</form>

<button jsf:outcome="outcome1" jsf:id="outcomeButton">
    <strong>O</strong>utcome <strong style="color: green;">Button</strong>
</button>

</html>
